package com.pur.zsms.shopmanage.service;

import java.util.List;

import com.pur.zsms.common.exception.GenericException;
import com.pur.zsms.common.support.PageController;
import com.pur.zsms.common.support.PaginationSupport;
import com.pur.zsms.matermanage.mater.vo.MaterVo;
import com.pur.zsms.pmsnmanage.menu.po.MenuPo;
import com.pur.zsms.pmsnmanage.role.vo.RoleVo;
import com.pur.zsms.pmsnmanage.user.po.UserLevelPo;
import com.pur.zsms.pmsnmanage.user.po.UserPo;
import com.pur.zsms.pmsnmanage.user.vo.LdAddressVo;
import com.pur.zsms.pmsnmanage.user.vo.UserVo;
import com.pur.zsms.shopmanage.po.ShopPo;
import com.pur.zsms.shopmanage.po.ShopUserPo;
import com.pur.zsms.shopmanage.vo.ShopRaisePriceVo;
import com.pur.zsms.shopmanage.vo.ShopVo;
import com.pur.zsms.supplier.vo.SupplierVo;

public interface IShopService {
	String msg = "";

	public String getMsg();

	public void setMsg(String msg);

	public PaginationSupport listShop(PageController pageController, ShopVo shopVo) throws GenericException;

	public PaginationSupport listShopForSup(PageController pageController, ShopVo shopVo) throws GenericException;

	public PaginationSupport shopRaiseList(PageController pageController, ShopRaisePriceVo shopRaisePriceVo) throws GenericException;

	public boolean addShop(ShopVo c, UserPo lguser) throws GenericException;

	public boolean addShopForSup(ShopVo c, UserPo lguser) throws GenericException;

	public boolean updateShop(ShopVo c) throws GenericException;

	public boolean updateShopForSup(ShopVo c) throws GenericException;

	public boolean addShopRaise(ShopRaisePriceVo c, UserPo lguser) throws GenericException;

	public boolean updateShopRaise(ShopRaisePriceVo c, UserPo lguser) throws GenericException;

	public void deleteShopRaise(long rpid) throws GenericException;

	public ShopVo getShopVoByShopId(long shopId) throws GenericException;

	public ShopRaisePriceVo getShopRaisePriceVoByRpid(long rpid) throws GenericException;

	public long getShopIdoByUserId(long userId) throws GenericException;

	public List<ShopUserPo> getShopUserPoByUserId(long userId) throws GenericException;

	public ShopPo getShopPo(long shopId) throws GenericException;

	public ShopPo getShopPoByOrdId(long ordId) throws GenericException;

	public String getShopIdBycompanyId(String companyId) throws GenericException;

	public String getShopIdBycompanyIdSupid(String companyId, long supId) throws GenericException;

	public String getShopIdBycompanyIdAllSupId(String companyIdAll, long supId) throws GenericException;

	public boolean getCheckPhone(String shopName) throws GenericException;

}
